package org.liuh.designs.spider;

/**
 * @ClassName: Tests
 * @Description:
 * @Author: liuh
 * @Date: 2020/9/30 10:28
 * @Version: 1.0
 */
public class Tests {

    public static void main(String[] args) {
        int i = "http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/2019/11/1101.html".lastIndexOf("/");
        String moduleHref = "http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/2019/11/1101.html".substring(0, i + 1);
        System.out.println(moduleHref + "01/110119.html");
    }
}
